package com.homestay.service;

import com.homestay.beans.Vip;
import com.homestay.exception.UsedException;

import java.util.List;

public interface VipService {
    public int addVip(Vip vip) throws UsedException;

    public List<Vip> queryVipList(String phone);

    public int deleteVip(String id) throws UsedException;

    Vip queryVipById(String id);

    int updateVip(Vip vip);
}
